<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>主界面</title>
    <link href='../static/css/base.css' rel='stylesheet'>
    <script src="{{url_for('static',filename='js/jquery-3.6.1.js')}}" type="text/javascript" charset="utf-8"></script>
    <script src="{{url_for('static',filename='js/jquery.cookie-1.4.1.min.js')}}" type="text/javascript" charset="utf-8"></script>
</head>

<body>
<div class="start">

    <div class="right">
        <div class="main-info">
            主菜单
        </div>
        <div class="menus">
            <div class="menus-line">
                <div class="menu-item" onclick="window.location.href='{{url_for('allfrom')}}'">
                    <div class="button">
                        1
                    </div>
                    <div class="menu-item-text">当前模拟设备运行数据</div>
                </div>
                <div class="menu-item" onclick="window.location.href='{{url_for('voltagehistory')}}'">
                    <div class="button">
                        2
                    </div>
                    <div class="menu-item-text">单位时间电压偏差数据</div>
                </div>
            </div>
            <div class="menus-line">
                <div class="menu-item" onclick="window.location.href='{{url_for('frequencyhistory')}}'">
                    <div class="button">
                        3
                    </div>
                    <div class="menu-item-text">单位时间频率数据</div>
                </div>
                <div class="menu-item" onclick="window.location.href='{{url_for('nobalance')}}'">
                    <div class="button">
                        4
                    </div>
                    <div class="menu-item-text">单位时间三相不平衡数据</div>
                </div>
            </div>
            <div class="menus-line">
                <div class="menu-item" onclick="window.location.href='{{url_for('harmoniccontent')}}'">
                    <div class="button">
                        5
                    </div>
                    <div class="menu-item-text">单位时间谐波含有率数据</div>
                </div>
                <div class="menu-item" onclick="window.location.href='{{url_for('interharmonicratio')}}'">
                    <div class="button">
                        6
                    </div>
                    <div class="menu-item-text">单位时间间谐波含有率数据</div>
                </div>
            </div>

        </div>
    </div>
</div>
</body>
<script>
    $(function() {
        var logiName = $.cookie('loginName');
        if($.trim(logiName) != ''){
            $(".title1").text(logiName+ ",您好!")
        }
    })
</script>

<style>
    .button {
        width: 8vw;
        height: 8vw;
        font-size: 2.4vw;
    }
</style>

</html>